package com.jdjw.modules.ruralnail.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jdjw.common.ResponseResult;
import com.jdjw.modules.ruralnail.entity.SouStaMigrantWorkers;
import com.jdjw.modules.ruralnail.entity.StaPartyPeople;
import com.jdjw.modules.ruralnail.mapper.StaPartyPeopleMapper;
import com.jdjw.modules.ruralnail.service.StaPartyPeopleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 中国共产党党员基本信息业务表 服务实现类
 * </p>
 *
 * @author guxinao
 * @since 2021-07-06
 */
@Service
@DS("zkyr-xz-mszj")
public class StaPartyPeopleServiceImpl extends ServiceImpl<StaPartyPeopleMapper, StaPartyPeople> implements StaPartyPeopleService {

    @Resource
    StaPartyPeopleMapper staPartyPeopleMapper;

    @Override
    public List method() {

        List<StaPartyPeople> result = null;

        try{
            //查询
            result = staPartyPeopleMapper.selectListSpp();

        }catch (Exception e){
            e.printStackTrace();
        }


        return result;
    }
}
